-
March 12th, 2026, 12:34 PM
#1
Senior Hostboard Member
Adding custom vars to email templates?
Adding custom vars to email templates? User email confirmation FRONTEND_URL use case
Hello,
I would like to be able to add custom vars to the e-mail templates of the user-permission confirmation and reset password templates.
I’m using Strapi v5 through an Astro front-end, so the Strapi confirm link will not be immediately visible to end users who need to click on the e-mail link.
A solution would be being able to define custom vars such as the provided <%= CODE %>, for example <%= FRONTEND_URL %> that would be available globally.
Without this, I think I need to hard code these values between dev and staging.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks